<%@tag description="put the tag description here" pageEncoding="UTF-8"%>
<%@tag body-content="scriptless" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%-- The list of normal or fragment attributes can be specified here: --%>
<%@attribute name="titulo" required="true"%>

<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <base href="${baseURL}/"/>
        <link rel="stylesheet" type="text/css" href="assets/css/bootstrap.css">
        <link rel="stylesheet" type="text/css" href="assets/css/bootstrap-theme.css">
        <link rel="stylesheet" type="text/css" href="assets/css/calendar.css">                
        <title>${titulo}</title>
        <style>
            .compromisso{
                /*background-color: red;*/
                white-space: normal;
                height: 50px;
                line-height: 20px;
                margin-top: 10px;
                overflow: hidden;
            }

            .celula{
                display: inline;
                overflow: hidden;
                white-space: nowrap;
            }

            td{
                max-width: 50px;
            }
        </style>
        <script src="assets/scripts/jquery-2.0.3.min.js"></script>
    </head>
    <body>
        <div class="panel">
            <div class="navbar navbar-inverse" role="navigation">
                <div class="nav navbar-left nav-pills">
                    <ul class="nav nav-pills">
                        <li>
                            <a href="intranet/usuario/home">Home</a>
                        </li>
                        <li>
                            <a href="intranet/acervo/home">Acervo</a>
                        </li>
                        <li>
                            <a href="intranet/site/listar">Websites</a>
                        </li>
                        <li>
                            <a href="intranet/compromisso/agenda">Agenda</a>
                        </li>
                    </ul>
                </div>
                <div class="nav navbar-right nav-pills">
                    <ul class="nav nav-pills"> 
                        <c:if test="${usuario.grupo.nome eq 'ADMINISTRADOR'}">
                            <li>
                                <a href="intranet/usuario/listar">Usuarios</a>
                            </li>
                            <li>
                                <a href="intranet/grupo/listar">Grupos</a>
                            </li>
                             <li>
                                <a href="intranet/departamento/listar">Departamentos</a>
                            </li>
                        </c:if>
                        <li>
                            <a href="intranet/usuario/logoff">Logoff</a>
                        </li>
                    </ul>
                </div>
            </div>
        </div>

        <div class="container-fluid">
            <!-- inicio conteudo -->
            <jsp:doBody/>
            <!-- fim conteudo -->
        </div>
            
        
    </body>
</html>
